package com.zito.health.mapper;

import com.zito.health.entity.Permission;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PermissionMapper extends Mapper<Permission> {

    public List<Permission> queryUserPermission(Integer userId);

    public List<Permission> queryUserMenu(@Param("userId") Integer userId,@Param("type") Integer type);
}
